package com.atguigu.spring.methodOverrides.replace;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ReplaceConfig {


	@Bean
	public OriginalDog originalDog(){
		return new OriginalDog();
	}


	@Bean
	public ReplaceDog replaceDog(){
		return new ReplaceDog();
	}

}
